package edu.hainnu.niit.service.Impl;

import edu.hainnu.niit.dao.ClassificationDao;
import edu.hainnu.niit.model.Classification;
import edu.hainnu.niit.service.IClassificationService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * TODO
 *
 * @package_name edu.hainnu.niit.service.Impl
 * @auther GGB
 * @date 2021/12/13
 * @time 09:31
 */
@Service
public class ClassificationServiceImpl implements IClassificationService {
    @Resource
    ClassificationDao classificationDao;
    @Override
    public List<Classification> queryService() {
        List<Classification> classificationList = classificationDao.queryClassification();
        return classificationList;
    }
}
